package com.example.shiwu.db.model;


import com.example.shiwu.db.annotation.DbFiled;
import com.example.shiwu.db.annotation.DbPrimaryKey;
import com.example.shiwu.db.annotation.DbTable;

@DbTable("tb_receive_vol_ele")
public class ReceiveVolEle {
    //    是不是 变量名
    @DbPrimaryKey(value = "id", isAuto = true)
    @DbFiled("id")
    public Integer id;

    @DbFiled("item_id")
    public Integer itemId;
    @DbFiled("indx")
    public Integer indx;
    @DbFiled("txv")
    public String txv;
    @DbFiled("txc")
    private String txc;
    @DbFiled("rxv")
    private String rxv;

    @DbFiled("grop_id")
    private String gropId;//用于区分一天内 第几次采集数据

    @DbFiled("create_time")
    private String createTime;
    @DbFiled("update_time")
    private String updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public Integer getIndx() {
        return indx;
    }

    public void setIndx(Integer indx) {
        this.indx = indx;
    }

    public String getTxv() {
        return txv;
    }

    public void setTxv(String txv) {
        this.txv = txv;
    }

    public String getTxc() {
        return txc;
    }

    public void setTxc(String txc) {
        this.txc = txc;
    }

    public String getRxv() {
        return rxv;
    }

    public void setRxv(String rxv) {
        this.rxv = rxv;
    }

    public String getGropId() {
        return gropId;
    }

    public void setGropId(String gropId) {
        this.gropId = gropId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public ReceiveVolEle(Integer id, Integer itemId, Integer indx, String txv, String txc, String rxv, String gropId, String createTime, String updateTime) {
        this.id = id;
        this.itemId = itemId;
        this.indx = indx;
        this.txv = txv;
        this.txc = txc;
        this.rxv = rxv;
        this.gropId = gropId;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public ReceiveVolEle(Integer itemId, Integer indx, String txv, String txc, String rxv, String createTime) {
        this.itemId = itemId;
        this.indx = indx;
        this.txv = txv;
        this.txc = txc;
        this.rxv = rxv;
        this.createTime = createTime;
    }

    public ReceiveVolEle() {
    }

    public ReceiveVolEle(Integer itemId) {
        this.itemId = itemId;
    }
}
